package cn.itcast.travel.dao;

import cn.itcast.travel.domain.Route;
import cn.itcast.travel.domain.User;

import java.util.List;

public interface UserDao {
    public User FindByUsername(String username);
    public void save(User user);

    User FindByCode(String code);

    void updateStatus(User user);

    User FindUsernameAndPassword(String username, String password);
    User findUserByUsername(String username);

    void updateUserRimagepathByUid(String path,Integer rid);
}
